import request from '../utils/axios'

// 通用的表格查询
export function list(url: string, params: any) {
  return request({
    url: url + '/list',
    method: 'get',
    params
  })
}

// 通用的表格删除
export function del(url: string, ids: any) {
  return request({
    url: url + '/' + ids,
    method: 'delete'
  })
}